package com.cj.ai.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author cc
 * @since 2024-08-20
 */
@Getter
@Setter
@TableName("ai_interview_category")
@JsonInclude(JsonInclude.Include.NON_EMPTY) // 为空的字段不用返回
public class Category implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 宫格中的文本
     */
    private String text;

    /**
     * 宫格图片的地址
     */
    private String src;

    /**
     * 技术的名字
     */
    private String name;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    /**
     * 1正常 0 删除
     */
    private Integer delFlag;

    private Integer orderNum;

    /**
     * 是否启用
     */
    private Byte enable;
}
